{include file="/wap/public/top" /}
{include file="/wap/public/layui" /}<link rel="stylesheet" type="text/css" href="__indexwap__/css/userf.css">


<div class="user_zx_right">
                <div class="box">
                    <div class="tagMenu">
                        <ul class="menu">
                            <li {if condition='$type eq "1"'}class="current"{/if}><a href="{:url('user/inviter',array('type'=>'1'))}">推广链接</a></li>
                            <li {if condition='$type eq "2"'}class="current"{/if}><a href="{:url('user/inviter',array('type'=>'2'))}">推广记录</a></li>
                            <li {if condition='$type eq "3"'}class="current"{/if}><a href="{:url('user/inviter',array('type'=>'3'))}">推荐奖励</a></li>
                        </ul>
                        <div class="hite"><span id="account"></span></div>
                    </div>
                </div>

{if condition="$type eq '1'"}
  <style>
  #wemfff{ width: 100%;background-image:url(/ewm/ewm.jpg); background-repeat:no-repeat; background-size:100% 100%;-moz-background-size:100% 100%;    height: 100%;}

  </style>
  <script>
    $(function(){
     var wem=$(document).width();
     var wemimg= $('#wemimg').width();
      var num=(wem-wemimg)/2;
      $('#wemimg').css("left",num);
    
    })
  
  </script>
                                <div class="myinfo" style="padding: 5px; margin-bottom: 15px;background:#fff;">
                                  <div id="wemfff">
<p ><img id="wemimg" style=" width:20%;      position: absolute;
    top: 83%;
    left: 35%;
      max-width: 100px;
   -webkit-user-select: none;background-position: 0px 0px, 10px 10px;background-size: 20px 20px;background-image:linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee 100%),linear-gradient(45deg, #eee 25%, white 25%, white 75%, #eee 75%, #eee 100%);" src="{$urlf}">
                                    </p></div>
              <div id="code"></div>
                </div>

<script>
$(function(){
var url='{$url}';

tgajax(url);

})

function tgajax(url,num){

  $.ajax({
                        async:false,
                        url:"/vendor/ewm/ewm.php",
                        data:{'url':url},
                        type:'post',
                        dataType:'json',
                        success:function(res){
							
                          
                        },
                        error : function(XMLHttpRequest, textStatus, errorThrown) {
							
							
                           
                        }
                    });
					
					
					}

					</script>


{elseif condition="$type eq '2'"}


<div class="myinfo" style="padding: 20px; margin-bottom: 15px;background:#fff;">
                    <p style="margin:15px 0px;">尊敬的{$config.title}                       会员，以下是您在{$config.title} 的推广记录，敬请审阅！</p>
                    <p>截止 {php}echo date("Y-m-d H:i:s");{/php} </p>
  <p>团队充值：{$sumxjcz} &nbsp;&nbsp;团队提现：{$sumxjtx}</p>

                    <div class="container-fluid">
                        <div class="row-fluid">
                            <table class="table table-striped table-bordered table-hover datatable dataTable" id="DataTables_Table_0">
                                <thead>
                                <tr>
                                    <th width="20%" class="sorting_desc">下线会员账号</th>
                                    <th width="20%" class="sorting">下线层级</th>
                                    <th width="20%" class="sorting">注册时间</th>
                                </tr>
                                </thead>
                                <tbody role="alert" aria-live="polite" aria-relevant="all">
								{volist name="log" id="vo"}
                                                              <tr>
                                    <td width="20%" class=""><a href="{:url('user/inviter',array('type'=>'2','ii'=>$ii,'id'=>$vo['id']))}">{$vo.name}({$vo.id|memberxj})</a></td>
                                    <td width="20%" class="">{$ii}</td>
                                    <td width="20%" class="">{$vo.regtime}</td>
                                </tr>
								{/volist}
                                                                </tbody>
                            </table>
                        </div>
								 <div class="paging"> <span> {$log->render()}</span>            </div>
                    </div>
                </div>

{elseif condition="$type eq '3'"}
    <div class="myinfo" style="padding: 5px; margin-bottom: 15px;background:#fff;">
        <p style="margin:15px 0px;">尊敬的{$config.title}用户，以下是{$config.title}的推荐获得积分表，敬请仔细审阅。</p>
        <p>截止 {php}echo date("Y-m-d H:i:s");{/php}   您目前获得积分：<span style="color:#ff6600; font-size:14px;">￥{$ztz|abs}</span>

        <div class="container-fluid" style="padding-right:0px;">
            <div class="row-fluid">
                <table class="table table-striped table-bordered table-hover datatable dataTable" id="DataTables_Table_0">
                    <thead>
                    <tr>
                        <th width="12%" class="sorting_desc">说明</th>
                        <th width="12%" class="sorting">金额</th>
                        <th width="12%" class="sorting">发生日期</th>
                    </tr>
                    </thead>
                    <tbody role="alert" aria-live="polite" aria-relevant="all">
                    {volist name="log" id="vo"}
                    <tr class="gradeX">
                        <td class=" ">{$vo.notice}</td>
                        <td class=" ">{$vo.money}</td>
                        <td class=" ">{$vo.addtime}</td>
                    </tr>
                    {/volist}
                    </tbody>
                </table>
            </div>
            <div class="paging"> <span> {$log->render()}</span>            </div>
        </div>


    </div>
{/if}

            </div>
{include file="/wap/public/hder" /}